package common;

import decision_tree.DecisionTreeModel;
import interfaces.Model;

public class ModelFactory {
	public static Model getModel(String name) {
		Model model;
		if(name.compareTo("decision_tree") == 0) {
			model = new DecisionTreeModel();
		} else {
			throw new RuntimeException();
		}
		return model;
	}
}
